package com.econ.powercloud.ems.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author : zjf
 * @Description :
 * @Date : 2023/5/24 14:29
 * @Modified by : zjf
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
public class DitDataVO {

    @NotBlank(message = "iot设备编号不能为空")
    @ApiModelProperty(value = "iot设备编号")
    private String initDeviceCode;

    @NotBlank(message = "点号不能为空")
    @ApiModelProperty(value = "点号")
    private String dit;

    @NotNull(message = "点号类型不能为空")
    @ApiModelProperty(value = "点号类型,见DitTypeEnum枚举")
    private Integer ditType;

}
